<?php
session_start();
ob_start();
include("connection/connection.php");
$checkType=$_REQUEST['ids'];
if($_REQUEST['delete']!='')
{
	foreach ($checkType as $checkType)
	{
 		$sql="delete from tbl_dtls_compose where id='$checkType'";	
		mysql_query($sql);
		print "<script language=\"javascript\">\n";
		//print "alert('successfully Delete...')\n";
		print "window.location.href='inbox.php'\n";
		print "</script>";	
	}		
}
?>